<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class AppController</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name"><img src="../media/images/Class_logo.png"
														alt=" Class"
														title=" Class"
														style="vertical-align: middle"> AppController</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
							<a href="#sec-descendents">Descendents</a>
			|											<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Controla las funciones basicas a lo largo de la aplicacion</p>
		<p class="notes">
			Located in <a class="field" href="_app_controller.php.html">/app_controller.php</a> (line <span class="field">15</span>)
		</p>
		
				
		<pre>Controller
   |
   --AppController</pre>
	
			</div>
</div>

	<a name="sec-descendents"></a>
	<div class="info-box">
		<div class="info-box-title">Direct descendents</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
			<span class="disabled">Descendents</span>
			|												<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
								|															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<table cellpadding="2" cellspacing="0" class="class-table">
				<tr>
					<th class="class-table-header">Class</th>
					<th class="class-table-header">Description</th>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../default/ContactController.html">ContactController</a>
					</td>
					<td>
											Controlador de envio de correos
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../default/UsersController.html">UsersController</a>
					</td>
					<td>
											Administra los usuarios del sitio web
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../default/PromotionsController.html">PromotionsController</a>
					</td>
					<td>
											Administra las promociones del sitio web
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../cake/cake-cake-libs-controller/PagesController.html">PagesController</a>
					</td>
					<td>
											Static content controller
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../default/StatesController.html">StatesController</a>
					</td>
					<td>
											Administra los departamentos del sitio web
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../default/ProductsController.html">ProductsController</a>
					</td>
					<td>
											Administra las empresas del sitio web
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../default/ArticulosController.html">ArticulosController</a>
					</td>
					<td>
											Administra los articulos del sitio
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../default/CitiesController.html">CitiesController</a>
					</td>
					<td>
											Controlador para la administracion de ciudades
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../default/CategoriesController.html">CategoriesController</a>
					</td>
					<td>
											Administra las categorias de las empresas
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../default/BannersController.html">BannersController</a>
					</td>
					<td>
											Administra los banners del sitio
										</td>
				</tr>
							</table>
		</div>
	</div>


	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendants</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<div class="var-summary">
																																<div class="var-title">
					<img src="../media/images/Variable.png" alt=" " />
					<span class="var-type">array</span>
					<a href="#$components" title="details" class="var-name">$components</a>
				</div>
																<div class="var-title">
					<img src="../media/images/Variable.png" alt=" " />
					<span class="var-type">array</span>
					<a href="#$helpers" title="details" class="var-name">$helpers</a>
				</div>
											</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendants</a> |
																		<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#beforeFilter" title="details" class="method-name">beforeFilter</a>
										()
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#beforeRender" title="details" class="method-name">beforeRender</a>
										()
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">string</span>
										<a href="#quitarPuntosyComas" title="details" class="method-name">quitarPuntosyComas</a>
											(<span class="var-type">$string</span>&nbsp;<span class="var-name">$valor</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">string</span>
										<a href="#slug" title="details" class="method-name">slug</a>
											(<span class="var-type">$string</span>&nbsp;<span class="var-name">$string</span>)
									</div>
											</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			
<a name="var$components" id="$components"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">array</span>
			<span class="var-name">$components</span>
			 = <span class="var-default">array('Auth','Session','Acces')</span>			(line <span class="line-number">35</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Componentes para controladores</p>
<p class="description"><p>Seran usados por todos los controladores del sitio</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../default/ContactController.html#var$components">ContactController::$components</a>
							</li>
					<li>
				<a href="../default/UsersController.html#var$components">UsersController::$components</a>
							</li>
					<li>
				<a href="../default/PromotionsController.html#var$components">PromotionsController::$components</a>
							</li>
					<li>
				<a href="../default/ProductsController.html#var$components">ProductsController::$components</a>
							</li>
					<li>
				<a href="../default/ArticulosController.html#var$components">ArticulosController::$components</a>
							</li>
					<li>
				<a href="../default/CitiesController.html#var$components">CitiesController::$components</a>
							</li>
					<li>
				<a href="../default/BannersController.html#var$components">BannersController::$components</a>
							</li>
				</ul>
		

</div>
<a name="var$helpers" id="$helpers"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">array</span>
			<span class="var-name">$helpers</span>
			 = <span class="var-default">array('Javascript','Time','Flash','Form','Add','Text')</span>			(line <span class="line-number">24</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Asistenes para vistas</p>
<p class="description"><p>Carga los asistentes a ser usados entoda la aplicacion</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../default/ContactController.html#var$helpers">ContactController::$helpers</a>
							</li>
					<li>
				<a href="../default/UsersController.html#var$helpers">UsersController::$helpers</a>
							</li>
					<li>
				<a href="../default/PromotionsController.html#var$helpers">PromotionsController::$helpers</a>
							</li>
					<li>
				<a href="../cake/cake-cake-libs-controller/PagesController.html#var$helpers">PagesController::$helpers</a>
								: Default helper
							</li>
					<li>
				<a href="../default/StatesController.html#var$helpers">StatesController::$helpers</a>
							</li>
					<li>
				<a href="../default/ProductsController.html#var$helpers">ProductsController::$helpers</a>
							</li>
					<li>
				<a href="../default/ArticulosController.html#var$helpers">ArticulosController::$helpers</a>
							</li>
					<li>
				<a href="../default/CitiesController.html#var$helpers">CitiesController::$helpers</a>
							</li>
					<li>
				<a href="../default/CategoriesController.html#var$helpers">CategoriesController::$helpers</a>
							</li>
					<li>
				<a href="../default/BannersController.html#var$helpers">BannersController::$helpers</a>
							</li>
				</ul>
		

</div>
						
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
														<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="methodbeforeFilter" id="beforeFilter"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">beforeFilter</span> (line <span class="line-number">41</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Accion que se ejecuta antes de cada metodo</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			beforeFilter
		</span>
				()
			</div>
	
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../default/ContactController.html#methodbeforeFilter">ContactController::beforeFilter()</a>
							</li>
					<li>
				<a href="../default/UsersController.html#methodbeforeFilter">UsersController::beforeFilter()</a>
								: Configura la autenticacion de usuarios
							</li>
					<li>
				<a href="../cake/cake-cake-libs-controller/PagesController.html#methodbeforeFilter">PagesController::beforeFilter()</a>
								: Displays a view
							</li>
					<li>
				<a href="../default/ProductsController.html#methodbeforeFilter">ProductsController::beforeFilter()</a>
							</li>
					<li>
				<a href="../default/ArticulosController.html#methodbeforeFilter">ArticulosController::beforeFilter()</a>
							</li>
					<li>
				<a href="../default/CategoriesController.html#methodbeforeFilter">CategoriesController::beforeFilter()</a>
							</li>
					<li>
				<a href="../default/BannersController.html#methodbeforeFilter">BannersController::beforeFilter()</a>
							</li>
				</ul>
	</div>
<a name="methodbeforeRender" id="beforeRender"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">beforeRender</span> (line <span class="line-number">60</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Before render ejectua acciones antes  mostrar el codigo html</p>
<p class="description"><p>en este caso se usa para eliminar el cache y evitar conflictos con las  variables de session</p></p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			beforeRender
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodquitarPuntosyComas" id="quitarPuntosyComas"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">quitarPuntosyComas</span> (line <span class="line-number">88</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Quita los puntos y comas de una cadena</p>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			quitarPuntosyComas
		</span>
					(<span class="var-type">$string</span>&nbsp;<span class="var-name">$valor</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$string</span>
				<span class="var-name">$valor</span><span class="var-description">: texto a limpiar</span>			</li>
				</ul>
		
			
	</div>
<a name="methodslug" id="slug"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">slug</span> (line <span class="line-number">73</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Convierte una palabra en url amigable</p>
	<ul class="tags">
				<li><span class="field">return:</span> convertida (slug)</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			slug
		</span>
					(<span class="var-type">$string</span>&nbsp;<span class="var-name">$string</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$string</span>
				<span class="var-name">$string</span><span class="var-description">: string a convertir en url</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>

	
	<p class="notes" id="credit">
		Documentation generated on Mon, 08 Nov 2010 12:02:28 -0500 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</div></body>
</html>